projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9cf0a4
)
Don't use C99.
author
robertl
<robertl>
Thu, 20 Jul 2006 17:49:45 +0000
(17:49 +0000)
committer
robertl
<robertl>
Thu, 20 Jul 2006 17:49:45 +0000
(17:49 +0000)
gbser_posix.c
patch
|
blob
|
history
diff --git
a/gbser_posix.c
b/gbser_posix.c
index 8a81862975fee6686ca3f9fb866a931561ce6295..de39d3ce19c8426264afdb3cc17ad8341758a477 100644
(file)
--- a/
gbser_posix.c
+++ b/
gbser_posix.c
@@
-263,9
+263,9
@@
int gbser__fill_buffer(void *handle, unsigned want, unsigned *ms) {
h->inbuf_used += rc;
/*printf("Got %d bytes\n", rc);*/
} else {
+ double time_left = *ms;
hp_time tv;
get_time(&tv);
- double time_left = *ms;
for (;;) {
fd_set rec;